package lab02.Test35;

public  class Manager extends Employee {
    double monthSalary;
    public Manager(String name,double monthSalary) {
        super(name);
        this.monthSalary=monthSalary;
    }

    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public double computeSalary() {
        return monthSalary;
    }


}
